package cn.sangyy.user.service;

import cn.sangyy.user.domain.LoginInfo;
import cn.sangyy.user.dto.AccountLoginDto;
import cn.sangyy.user.dto.PhoneCodeLoginDto;

import java.util.HashMap;
import java.util.Map;

/**
 * @author SangYY
 * @date: 2023/06/02/23:02
 */
public interface ILoginService {
    Map<String, Object> accountLogin(AccountLoginDto dto);

    Map<String, Object> phoneCodeLogin(PhoneCodeLoginDto dto);

    Map<String, Object> wechatLogin(Map<String, Object> map);

    HashMap<String, Object> backLoginInfo(LoginInfo loginInfo);
}
